package Feb_14.TestAccount;

public class Customer extends Thread {
    Account account;
    public Customer(Account account){
        this.account = account;
    }

    @Override
    public void run() {
        for (int i = 0;i<3;i++){
            account.addMoney(1000);
        }
    }
}
